﻿<phone:PhoneApplicationPage 
    x:Class="Flag.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d" d:DesignWidth="480" d:DesignHeight="768"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    SupportedOrientations="Portrait" Orientation="Portrait"
    shell:SystemTray.IsVisible="True" xmlns:my="clr-namespace:Microsoft.Advertising.Mobile.UI;assembly=Microsoft.Advertising.Mobile.UI">



    <!--LayoutRoot è la griglia radice in cui viene inserito tutto il contenuto della pagina-->
    <Grid x:Name="LayoutRoot" Background="Transparent">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>

        <!--TitlePanel contiene il nome dell'applicazione e il titolo della pagina-->
        <StackPanel x:Name="TitlePanel" Grid.Row="0" Margin="12,17,0,28">
            <TextBlock x:Name="PageTitle" Text="Mapture the Flag" Margin="9,-7,0,0" Style="{StaticResource PhoneTextTitle1Style}" Height="106" Width="452" FontSize="55" FontFamily="Segoe WP" FontWeight="ExtraBold" />
        </StackPanel>

        <!--ContentPanel - inserire ulteriore contenuto qui-->
        <Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0">
            <TextBlock Text="Username:" TextAlignment="Center" HorizontalAlignment="Center" Margin="9,50,9,0" VerticalAlignment="Top" Width="437" FontSize="45"/>
            <TextBox x:Name="username" Text="" HorizontalAlignment="Center" Margin="9,120,9,0"  VerticalAlignment="Top" Width="437" FontSize="45"/>
            <TextBlock Text="Password:" TextAlignment="Center" HorizontalAlignment="Center" Margin="9,260,9,0" VerticalAlignment="Top" Width="438" FontSize="45" />
            <PasswordBox x:Name="password" HorizontalAlignment="Center" Margin="9,330,9,0" VerticalAlignment="Top" Width="437" FontSize="45"/>
            <Button Content="GO" Height="115" HorizontalAlignment="Center" Margin="9,480,9,0" VerticalAlignment="Top" Width="115" FontSize="45" Click="buttonMenu_Click" />
        </Grid>

    </Grid>



</phone:PhoneApplicationPage>